package com.qijian.maindata.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.qijian.maindata.domain.Process;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * 工序Mapper接口
 *
 * @author ruoyi
 * @date 2021-08-19
 */
public interface ProcessMapper extends BaseMapper<Process> {

    @Override
    @Select("SELECT * FROM fm_process ${ew.customSqlSegment}")
    <P extends IPage<Process>> P selectPage(P page, @Param(Constants.WRAPPER) Wrapper<Process> queryWrapper);
}
